﻿@model User
<!DOCTYPE html>
<html>
<head>
    <title>登录</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <script src="~/lib/jquery/dist/jquery.min.js"></script>
    <link rel="stylesheet" href="~/layui/css/layui.css">    
    <style>
        /*html {
            -webkit-filter: grayscale(100%);
            -moz-filter: grayscale(100%);
            -ms-filter: grayscale(100%);
            -o-filter: grayscale(100%);
            filter: grayscale(100%);
            filter: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\"><filter id=\"grayscale\"><feColorMatrix type=\"matrix\" values=\"0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\"/></filter></svg>#grayscale");
            filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)
        }*/
        #bg{
            background: url("/images/banner1.jpg")no-repeat center fixed;
            background-size: cover;
        }
        form{
            height:300px;
            width:400px;
            border-radius: 20px;
        }
        input#dl{
            border-radius: 10px;
            height:30px;
        }
        .loginForm {
            margin-left: 27%;
            margin-top: 10%;
            /*background-color: #cccccc;*/
            background-color: #e7e7e7;
            float: left;
            z-index: 9999;
            position: fixed;
            opacity: 0.75;
        }

    </style>
</head>
<body id="bg"> 
    <div class="wrap">
            <form class="loginForm" method="post" action="/Login/check" id="form1" style="border:2px;text-align:center;">
                <br />
                <div><h3>华南人资系统</h3></div>
                <br />
                <label for="phone">手机号:</label>
                <input type="text" id="phone" name="phone"><br><br>
                <br />
                <label for="password">密&nbsp;&nbsp;&nbsp;&nbsp;码:</label>
                <input type="password" id="password" name="password" value=""><br><br>
                <br />
                <p style="color:red;font-size:20px;">@TempData["errorMessage"]</p>
                <input id="dl" type="submit" value="登录" style="width:300px;background-color:orange">
            </form>
    </div>
</body>
</html>